package com.kamistoat.meimeimall.meimeimallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kamistoat.meimeimall.common.utils.PageUtils;
import com.kamistoat.meimeimall.meimeimallproduct.entity.AttrEntity;
import com.kamistoat.meimeimall.meimeimallproduct.vo.AttrGroupRelationVo;
import com.kamistoat.meimeimall.meimeimallproduct.vo.AttrResponseVo;
import com.kamistoat.meimeimall.meimeimallproduct.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2021-09-12 14:28:44
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 生成测试数据
     * @param attrGroupNum 每个三级菜单的属性组数量
     * @param baseAttrNum 每组中基本属性个数
     * @param saleAttrNum 每组中销售属性个数
     */
    void constructTestAttrData(Integer attrGroupNum, Integer baseAttrNum, Integer saleAttrNum);
}

